package com.yida.gwj.api.domain;


import com.yida.common.core.annotation.Excel;


import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 业务流程步骤关联对象 common_flow_step
 *
 * @author lqq
 * @date 2022-12-14
 */
public class GwjConfFlowStep implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 步骤ID
	 */
	@Excel(name = "步骤ID")
	@NotNull(message = "步骤ID不能为空")
	private Long stepId;

	/**
	 * 流程ID
	 */
	@Excel(name = "流程ID")
	@NotNull(message = "流程ID不能为空")
	private Long flowId;

	/**
	 * 排序
	 */
	@Excel(name = "排序")
	@NotNull(message = "排序不能为空")
	private Integer sort;

	public Long getStepId() {
		return stepId;
	}

	public void setStepId(Long stepId) {
		this.stepId = stepId;
	}

	public Long getFlowId() {
		return flowId;
	}

	public void setFlowId(Long flowId) {
		this.flowId = flowId;
	}

	public Integer getSort() {
		return sort;
	}

	public void setSort(Integer sort) {
		this.sort = sort;
	}

	@Override
	public String toString() {
		final StringBuffer sb = new StringBuffer("GwjConfFlowStep{");
		sb.append("stepId=").append(stepId);
		sb.append(", flowId=").append(flowId);
		sb.append(", sort=").append(sort);
		sb.append('}');
		return sb.toString();
	}
}
